package com.surelution.lansao

class Partner {

    static constraints = {
		domainName nullable:true
		wxUsername nullable:true
		wxPassword nullable:true
		wxFakeId nullable:true
		name nullable:true
		idCardNo nullable:true
		idCardPhotoFilePath nullable:true
		
		wxOpenId unique:true
    }

	User user
	String wxUsername
	String wxPassword
	String wxOpenId
	String wxFakeId
	String domainName
	String name
	String mobileNo
	String tel
	Boolean active
	String idCardNo
	String idCardPhotoFilePath

	@Override
	public String toString() {
		return "Partner [wxOpenId=" + wxOpenId + ", name=" + name + "]";
	}}
